package com.vx.cloud.dataCloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created by aofavx on 2017-8-8.
 */
@SpringBootApplication
//启用eureka客户端功能，注册到eureka服务
@EnableDiscoveryClient
public class EureKaClient {
    public static void main(String[] args) {
        new SpringApplicationBuilder(EureKaClient.class).web(true).run(args);
    }
}
